<?php

class mailsystemmodule_config {
	function form($object) {
		if (!defined('SYS_FORMS')) require_once(BASE.'subsystems/forms.php');
		exponent_forms_initialize();

		$form = new form();
		if (!isset($object->id)) {
		$object->phone1 = "";
        $object->phone2 = "";
        $object->facebook = "";
        $object->twitter = "";
        $object->google = "";
        $object->desc = "";
        $object->new_window=0;
			
		} else {
			
			$form->meta('id',$object->id);
		}

		
		
		return $form;
	}

	function update($values,$object) {
        
		return $object;
	}
}

?>
